package com.API;

public class day02 {
    public static void main(String[] args) {
        //


        //拷贝数组
        int[] arr1 = new int[]{11, 22, 33, 44, 55};
        int[] arr2 = new int[10];
        //System.arraycopy(arr1,0,arr2,0,arr1.length);
        System.arraycopy(arr1, 2, arr2, 7, 3);

        for (int i = 0; i < arr2.length; i++) {
            System.out.println(arr2[i]);
        }
    }
}
